package net.trustie.pipeline;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import core.PageModelPipeline;
import net.trustie.dao.ApacheProject_Dao;
import net.trustie.model.apache_Model;
import us.codecraft.webmagic.Task;

@Component("apache_pipeline")
public class apache_pipeline  implements PageModelPipeline<apache_Model>{
	
	@Resource
	private ApacheProject_Dao  apache_Dao;

	public void process(apache_Model apache_Model, Task task) {
		// TODO Auto-generated method stub
		apache_Dao.add(apache_Model);
	}
}
